<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\Resource;

class QualityCheckChild extends Resource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'FID'=>$this->FID,
            'MFID'=>$this->MFID,
            'OrderNo'=>$this->OrderNo,
            'QCRptNo'=>$this->QCRptNo,
            'ScNo'=>$this->ScNo,
            'PONo'=>$this->PONo,
            'POItemFID'=>$this->POItemFID,
            'SCItemFID'=>$this->SCItemFID,
            'ItemNo'=>$this->ItemNo,
            'Material'=>$this->Material,
            'ProvItemNo'=>$this->ProvItemNo,
            'CustItemNo'=>$this->CustItemNo,
            'Item_C_Name'=>$this->Item_C_Name,
            'Item_E_Name'=>$this->Item_E_Name,
            'Item_E_Spec'=>$this->Item_E_Spec,
            'Item_C_Spec'=>$this->Item_C_Spec,
            'Unit'=>$this->Unit,
            'Brand'=>$this->Brand,
            'Color'=>$this->Color,
            'Packing'=>$this->Packing,
            'POPurQty'=>$this->POPurQty,
            'PurQty'=>$this->PurQty,
            'UNQCQTY'=>$this->UNQCQTY,
            'PoPurBoxQty'=>$this->PoPurBoxQty,
            'QCBoxQty'=>$this->QCBoxQty,
            'CheckResult'=>$this->CheckResult,
            'CheckQty'=>$this->CheckQty,
            'UnitBoxQty'=>$this->UnitBoxQty,
            'PackLength'=>$this->PackLength,
            'packwidth'=>$this->packwidth,
            'packhigh'=>$this->packhigh,
            'qcPackLength'=>$this->qcPackLength,
            'qcpackwidth'=>$this->qcpackwidth,
            'qcpackhigh'=>$this->qcpackhigh,


        ];
    }
}
